package String.a01;

public class demo01 {
    public static void main(String[] args) {
        StringBuilder sb1 = new StringBuilder(1024);
        for (int i = 0; i < 1000; i++) {
            sb1.append(',');
            sb1.append(i);
        }
        String s = sb1.toString();
        System.out.println(s);

        var sb2 = new StringBuilder(1024);
        sb2.append("Mr ").append("Bob").append("!").insert(0,"Hello,");
        System.out.println(sb2.toString());
    }
}
